package com.lxk.dao;

import com.lxk.pojo.RechargeOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 充值信息 Mapper 接口
 * </p>
 *
 * @author JohnSoybean
 * @since 2020-07-14
 */
public interface RechargeOrderMapper extends BaseMapper<RechargeOrder> {

    /**
     * 钱包 增加余额
     * @param userId
     * @param num
     * @return
     */
    int incrUserWallet(@Param("userId") Long userId, @Param("num") Integer num);

}
